package com.fary;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;

/**
 * @author Fary
 * @version 1.0
 * @description: TODO
 * @date 2021/10/11 11:16
 */
public class TestSupplierBean {

    public static void main(String[] args) {
        String location = "beans.xml";
        Resource resource = new ClassPathResource(location);
        BeanFactory beanFactory = new XmlBeanFactory(resource);
    }
}
